Perform Diagnostics

Command:

Test the processor, software and the LMK pairs. Return the LMK check value.

Notes:

The check value is the same as the value returned for the Console V command.

The Host system should time the NC command and generate an appropriate system message if a response is not received within 5 seconds. If an error is detected in the processor, HSM functions are suspended, and no message is returned to the Host.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message header

m A

(Subsequently returned to the Host unchanged).

Command code

2 A

Value NC.

End message delimiter

1 C

Optional. Must be present if a message trailer is present. Value X’19.

Message trailer

n A

Optional. Maximum length 32 characters.

RESPONSE MESSAGE

Message header

m A

Returned to the Host unchanged.

Response code

2 A

Value ND.

Error code

2 N

00 : No errors

13 : LMK error; report to supervisor

40 : Firmware PROM error

41 : Hardware/software error

42 : DES crypto-processor failure

LMK check

16 H

The LMK check value.

Firmware number

9 A

The firmware reference number in the form: xxxx-xxxx

This is the value returned for the Console VR command.

End message delimiter

1 C

Present only if present in the command message. Value X’19.

Message trailer

n A

Present only if present in the command message. Maximum length 32 characters.